From: Bastien Nocera Date: Sun, 19 Feb 2017 15:38:07 +0000 (+0100) Subject: network: Don't start portal helper under GDM X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~521 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=607b2efcce68002b44c2e7e0045e69f9e39062ac;p=gnome-shell.git network: Don't start portal helper under GDM https://bugzilla.gnome.org/show_bug.cgi?id=769546 --- diff --git a/js/ui/status/network.js b/js/ui/status/network.js index 560743cf0..bedfc5e38 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -2066,7 +2066,7 @@ const NMApplet = new Lang.Class({ // (but in general we should only prompt a portal if we know there is a portal) if (GLib.getenv('GNOME_SHELL_CONNECTIVITY_TEST') != null) isPortal = isPortal || this._client.connectivity < NetworkManager.ConnectivityState.FULL; - if (!isPortal) + if (!isPortal || Main.sessionMode.isGreeter) return; let path = this._mainConnection.get_path();